package com.yohann.boot.config;

/**
 * 系统常量配置参数
 *
 * @author Yeung Wah
 * @since 2021/5/5
 */
public class Constants {
    /**
     * spring扫包路径
     */
    public static final String BASE_PACKAGE = "com.yohann";

    /**
     * mybatis扫包路径
     */
    public static final String MYBATIS_SCAN = "com.yohann.*.mapper";

    /**
     * 环绕通知路径
     */
    public static final String LOG_EXECUTION = "execution(* com.yohann..*Controller.*(..)) && ";

    /**
     * mybatis plus自动填充字段配置
     */
    public final static String[] INSERT_FILL_FIELD = {"createTime", "updateTime"};
    public final static String[] UPDATE_FILL_FIELD = {"updateTime"};
    public final static Boolean ALWAYS_FILL_FIELD = Boolean.TRUE;
}